package router

import (
	"fx_swift_forex/internal/controller"
	"fx_swift_forex/pkg/middleware"
)

func PaymentRouter() {
	reqApiVer := miniApiVer.Group("payment", middleware.CheckAuth())
	{
		reqApiVer.POST("createPayments", controller.CreatePayments)
		reqApiVer.POST("payRequirements", controller.PayRequirements)
		reqApiVer.POST("operatorPayment", controller.OperatorPayments)
	}
}
